
    <style>
        #show_img img{
            width: 100%;
        }
        #min_img img{
            width: 100px;
        }
    </style>
</head>
<body>
<div class="admin">
    <form action="{:U('audit_details')}" method="post" name="myform" id="myform">
        <input type="hidden" value="{$goods['goods_id']}" name="goods_id">
        <table class="table tb-type2 order">
            <tbody>
            <tr class="space">
                <th colspan="2">商品审核</th>
            </tr>
            <tr>
                <th>商品基本信息</th>
            </tr>
            <tr>
                <td colspan="2">
                    <strong>商品名称:</strong> {$goods['goods_title']}
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <strong>简短描述:</strong> {$goods['goods_buytitle']}
                </td>
            </tr>
            <tr style="background: rgb(255, 255, 255);">
                <td>
                    <ul>
                        <li><strong>进货价：</strong>{$goods['goods_stockprice']}元</li>
                        <li><strong>平台销售价：</strong>{$goods['goods_price']}元</li>
                        <li><strong>市场价：</strong>{$goods['goods_markprice']}元</li>
                        <li><strong>库存：</strong>{$goods['goods_stock']}</li>
                    </ul>
                </td>
            </tr>
            <tr style="background: rgb(255, 255, 255);">
                <th>店铺信息</th>
            </tr>
            <tr>
                <td colspan="3"><ul>
                        <li><strong>店铺名:</strong>{$goods['store_name']}</li>
                    </ul></td>
            </tr>
            <tr style="background: rgb(255, 255, 255);">
                <th>产品图片</th>
            </tr>
            <tr>
                <td id="min_img" colspan="5">
                    <ul>
                        <foreach name="image" item="v">
                            <li style="width: 20%"><img src="{$v}"></li>
                        </foreach>

                    </ul>
                </td>
            </tr>
            </tbody>
            <tfoot>
            <tr class="tfoot">
                <td>
                    <a href="JavaScript:void(0);" class="button bg-main" onclick="history.go(-1)"><span>返回</span></a>
                    <div style="float: right; margin-right: 20px">
						<div class="z_label_left">
							<label class="label">审核状态：</label>
							<select name="type" class="input">
	                            <option value="1" selected>审核通过并上架</option>
	                            <option value="2">审核通过</option>
	                            <option value="0">不通过</option>
	                        </select>
	                        <input class="button bg-main" type="submit" id="tijiao"/>
                      </div>
                    </div>
                </td>
            </tr>
            </tfoot>
        </table>
    </form>
</div>
<div id="show_img">

</div>
<script type="text/javascript">
    $('#myform').layer({});
    //产品弹窗
    $('img').click(function(){
        $("#show_img").html($(this).parent().html());
        layer.open({
            type: 1,
            shade: false,
            title: false, //不显示标题
            area: ['73%', '90%'],
            content: $("#show_img"), //捕获的元素
        });
        return false;
    });
</script>